package com.sth.springframework.beans.factory;

import com.sth.springframework.beans.BeansException;
import com.sth.springframework.beans.factory.config.BeanDefinition;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author: sitianhong
 * @Description:
 * @Since: create in 2021/8/27 0027 21:47
 */
public interface BeanFactory {
    Object getBean(String name) throws BeansException;

    Object getBean(String name, Object... args) throws BeansException;

    <T> T getBean(String name, Class<T> requiredType) throws BeansException;
}
